package com.gancp.service.base;

/**
 * Created by GCP on 2018/5/10.
 */
public interface IBaseBiz<T, K> {
    int deleteByPrimaryKey(K id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(K id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
